import { defineStore } from 'pinia'

interface IProps {
  saveMethod: '0' | '1' | '2'
  // 目标目录
  targetDir: string | undefined
}

const useSaveAsPropsStore = defineStore('saveAsProps', {
  state(): IProps {
    return {
      saveMethod: '0',
      targetDir: undefined
    }
  }
})

export default useSaveAsPropsStore
